home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1992 June: ROMin Holiday / ADC Developer CD (1992-06) (''ROMin Holiday'')_iso / Developer Connection - 06-1992.iso / Development Platforms / Apple II / Essentials / MPW IIGS Interfaces / AIIGSIncludes / E16.Control < prev    next >
Encoding:
Text File  |  1990-04-05  |  5.7 KB  |  177 lines  |  [TEXT/MPS ]

  1. ; File:  E16.Control
  2. ;
  3. ;
  4. ; Copyright Apple Computer, Inc. 1986-90
  5. ; All Rights Reserved
  6. ;
  7. ;
  8. noConstraint EQU $0000  ; No constraint on movement.
  9. hAxisOnly EQU $0001  ; Horizontal axis only.
  10. vAxisOnly EQU $0002  ; Vertical axis only.
  11. simpRound EQU $0000  ; Simple button flag
  12. upFlag EQU $0001  ; Scroll bar flag. 
  13. boldButton EQU $0001  ; Bold round cornered outlined button.
  14. simpBRound EQU $0001  ; Simple button flag
  15. downFlag EQU $0002  ; Scroll bar flag.
  16. simpSquare EQU $0002  ; Simple button flag
  17. simpDropSquare EQU $0003  ; Simple button flag
  18. leftFlag EQU $0004  ; Scroll bar flag.
  19. rightFlag EQU $0008  ; Scroll bar flag.
  20. dirScroll EQU $0010  ; Scroll bar flag.
  21. horScroll EQU $0010  ; Scroll bar flag.
  22. family EQU $007F  ; Mask for radio button family number
  23. ctlInVis EQU $0080  ; invisible mask for any type of control 
  24. fCallWindowMgr EQU $0001  ; Control Template flag value
  25. fSubstituteText EQU $0002
  26. fSubTextType EQU $0001
  27. inListBox EQU $88
  28. simpleProc EQU $00000000
  29. checkProc EQU $02000000
  30. radioProc EQU $04000000
  31. scrollProc EQU $06000000
  32. growProc EQU $08000000
  33. drawCtl EQU $0000  ; Draw control command.
  34. calcCRect EQU $0001  ; Compute drag RECT command.
  35. testCtl EQU $0002  ; Hit test command.
  36. initCtl EQU $0003  ; Initialize command.
  37. dispCtl EQU $0004  ; Dispose command.
  38. posCtl EQU $0005  ; Move indicator command.
  39. thumbCtl EQU $0006  ; Compute drag parameters command.
  40. dragCtl EQU $0007  ; Drag command.
  41. autoTrack EQU $0008  ; Action command.
  42. newValue EQU $0009  ; Set new value command.
  43. setParams EQU $000A  ; Set new parameters command.
  44. moveCtl EQU $000B  ; Move command.
  45. recSize EQU $000C  ; Return record size command.
  46. ctlHandleEvent EQU $000D  ; Handle a keystroke or menu selection
  47. ctlChangeTarget EQU $000E  ; Issued when control's target status has changed
  48. ctlChangeBounds EQU $000F  ; Issued when control's boundary rectangle has changed
  49. ctlWindChangeSize EQU $0010  ; Window has been grown or zoomed
  50. ctlHandleTab EQU $0011  ; Control has been tabbed to
  51. ctlNotifyMultiPart EQU $0012  ; A multipart control has been hidden, drawn or shown
  52. ctlWinStateChange EQU $0013  ; Window state has changed
  53. noHilite EQU $0000  ; Param to HiliteControl
  54. inactiveHilite EQU $00FF  ; Param to HiliteControl
  55. noPart EQU $0000
  56. simpleButton EQU $0002
  57. checkBox EQU $0003
  58. radioButton EQU $0004
  59. upArrow EQU $0005
  60. downArrow EQU $0006
  61. pageUp EQU $0007
  62. pageDown EQU $0008
  63. growBox EQU $000A
  64. thumb EQU $0081
  65. fCtlTarget EQU $8000  ; is current target of typing commands
  66. fCtlCanBeTarget EQU $4000  ; can be made the target control
  67. fCtlWantEvent EQU $2000  ; control can be called view SendEventToCtl
  68. fCtlWantsEvent EQU $2000  ; control can be called view SendEventToCtl
  69. fCtlWantEvents EQU $2000  ; control can be called view SendEventToCtl
  70. fCtlWantsEvents EQU $2000  ; control can be called view SendEventToCtl
  71. fCtlProcRefNotPtr EQU $1000  ; set = ID of defproc, clear = pointer to defproc
  72. fCtlTellAboutSize EQU $0800  ; set if ctl needs notification when size of owning window changes
  73. fCtlIsMultiPart EQU $0400  ; set if ctl needs notification to be hidden
  74. fMenuDefIsText EQU $0004
  75. colorDescriptor EQU $000C  ; indicates type of reference in colorRef
  76. styleDescriptor EQU $0003  ; indicates type of reference in styleRef
  77. titleIsPtr EQU $00
  78. titleIsHandle EQU $01
  79. titleIsResource EQU $02
  80. colorTableIsPtr EQU $00
  81. colorTableIsHandle EQU $04
  82. colorTableIsResource EQU $08
  83. ctlHideCtl EQU $12
  84. singlePtr EQU $0000
  85. singleHandle EQU $0001
  86. singleResource EQU $0002
  87. ptrToPtr EQU $0003
  88. ptrToHandle EQU $0004
  89. ptrToResource EQU $0005
  90. handleToPtr EQU $0006
  91. handleToHandle EQU $0007
  92. handleToResource EQU $0008
  93. resourceToResource EQU $0009
  94. simpleButtonControl EQU $80000000
  95. checkControl EQU $82000000
  96. radioControl EQU $84000000
  97. scrollBarControl EQU $86000000
  98. growControl EQU $88000000
  99. statTextControl EQU $81000000
  100. editLineControl EQU $83000000
  101. editTextControl EQU $85000000
  102. popUpControl EQU $87000000
  103. listControl EQU $89000000
  104. iconButtonControl EQU $07FF0001
  105. pictureControl EQU $8D000000
  106. wmNotStartedUp EQU $1001  ; Window manager was not initialized
  107. cmNotInitialized EQU $1002  ; Control manager was not initialized
  108. noCtlInList EQU $1003  ; Control not in window list
  109. noCtlError EQU $1004  ; no controls in window
  110. noSuperCtlError EQU $1005  ; no super controls in window
  111. noCtlTargetError EQU $1006  ; no target super control
  112. notSuperCtlError EQU $1007  ; action can only be done on super control
  113. canNotBeTargetError EQU $1008  ; conrol cannot be made target
  114. noSuchIDError EQU $1009  ; specified ID cannot be found
  115. tooFewParmsError EQU $100A  ; not enough params specified
  116. noCtlToBeTargetError EQU $100B  ; NextCtl call, no ctl could be target
  117. noFrontWindowError EQU $100C  ; there is no front window
  118. selectedIcon EQU $0001
  119. openIcon EQU $0002
  120. offline EQU $0004
  121. fListString EQU $0001
  122. fListSelect EQU $0002
  123. fListScrollBar EQU $0004
  124. fRightJustifyResult EQU $0001
  125. fRightJustifyTitle EQU $0002
  126. fInWindowOnly EQU $0004
  127. fDontDrawResult EQU $0008
  128. fDontDrawTitle EQU $0010
  129. fDontHiliteTitle EQU $0020
  130. fType2PopUp EQU $0040
  131. ; offset constants for BarColors
  132. obarOutline EQU 0
  133. obarNorArrow EQU 2
  134. obarSelArrow EQU 4
  135. obarArrowBack EQU 6
  136. obarNorThumb EQU 8
  137. obarSelThumb EQU 10
  138. obarPageRgn EQU 12
  139. obarInactive EQU 14
  140. ; offset constants for BoxColors
  141. oboxReserved EQU 0
  142. oboxNor EQU 2
  143. oboxSel EQU 4
  144. oboxTitle EQU 6
  145. ; offset constants for BttnColors
  146. obttnOutline EQU 0
  147. obttnNorBack EQU 2
  148. obttnSelBack EQU 4
  149. obttnNorText EQU 6
  150. obttnSelText EQU 8
  151. ; offset constants for CtlRec
  152. octlNext EQU 0
  153. octlOwner EQU 4
  154. octlRect EQU 8
  155. octlFlag EQU 16
  156. octlHilite EQU 17
  157. octlValue EQU 18
  158. octlProc EQU 20
  159. octlAction EQU 24
  160. octlData EQU 28
  161. octlRefCon EQU 32
  162. octlColor EQU 36
  163. octlReserved EQU 40
  164. octlID EQU 56
  165. octlMoreFlags EQU 60
  166. octlVersion EQU 62
  167. ; offset constants for LimitBlk
  168. oboundRect EQU 0
  169. oslopRect EQU 8
  170. oaxisParam EQU 16
  171. odragPatt EQU 18
  172. ; offset constants for RadioColors
  173. oradReserved EQU 0
  174. oradNor EQU 2
  175. oradSel EQU 4
  176. oradTitle EQU 6
  177.